package com.thoughtworks;

/**
 * Created by revathyr on 7/15/14.
 */
public class Book implements Rentable {

    private String bookName;
    private String author;
    private int publishedYear;
    //private boolean status;


    public Book(String name, String authorName, int year) {
        bookName = name;
        author = authorName;
        publishedYear = year;
        //status =available;


    }

    public String getBookName() {
        return this.bookName;
    }

    public String getAuthorName() {


        return this.author;
    }

    public int getPublishedYear() {
        return this.publishedYear;
    }


    public String getEntityName() {

        return this.bookName;
    }
}
